package yxy.cherry.data.bean;


import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

@DataType
public class actrushranking  implements DataClass {
    public String linktype;

    public int id;

    public int group;

    public String name;

    public int taskid;

    public int rewardid;

    public int rewardnum;

    public int rewardtype;


    public String getLinktype() {
        return linktype;
    }

    public void setLinktype(String linktype) {
        this.linktype = linktype;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGroup() {
        return group;
    }

    public void setGroup(int group) {
        this.group = group;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTaskid() {
        return taskid;
    }

    public void setTaskid(int taskid) {
        this.taskid = taskid;
    }

    public int getRewardid() {
        return rewardid;
    }

    public void setRewardid(int rewardid) {
        this.rewardid = rewardid;
    }

    public int getRewardnum() {
        return rewardnum;
    }

    public void setRewardnum(int rewardnum) {
        this.rewardnum = rewardnum;
    }

    public int getRewardtype() {
        return rewardtype;
    }

    public void setRewardtype(int rewardtype) {
        this.rewardtype = rewardtype;
    }

    @Override
    public String getCode(){
        return String.valueOf(getId());
    }
}
